
package cn.tedu.apps_system.mapper;

import cn.tedu.apps_system.pojo.entity.Merchant;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface MerchantMapper {
    int insert(Merchant merchant);

    int update(Merchant merchant);

    int deleteById(Long id);

    Merchant selectById(Long id);

    Merchant selectByUserId(Long userId);

    List<Merchant> selectAll();
}